package cn.test.common;

import java.io.File;
import java.util.Scanner;

public class ShowFile {
	public static void showFile() {
		Scanner scanner = new Scanner(System.in);
		String name = scanner.nextLine();
		File file = new File(name);
		
		if(file.isDirectory()) {
			String[] str = file.list();
			for(String s:str) {
				System.out.println(s);
			}
			/*for(int i=0;i<str.length;i++) {
				System.out.println(str[i]);
			}*/
		}
	}
	public static void main(String[] args) {
		ShowFile.showFile();
	}
}
